package com.scraper.articles.domain.filter;

/**
 * Base class that is used to filter results on the scraping site.
 */
public class BaseFilter {

    /**
     * Minimum number of items to scan on site.
     */
    private int numberOfItemsToScan = -1;
    /**
     * Specific page number to start scraping from.
     */
    private int firstPageToScan = 1;
    /**
     * Page number to end scraping.
     */
    private int lastPageToScan = -1;

    public int getNumberOfItemsToScan() {
        return numberOfItemsToScan;
    }

    public void setNumberOfItemsToScan(int numberOfItemsToScan) {
        this.numberOfItemsToScan = numberOfItemsToScan;
    }

    public int getFirstPageToScan() {
        return firstPageToScan;
    }

    public void setFirstPageToScan(int firstPageToScan) {
        this.firstPageToScan = firstPageToScan;
    }

    public int getLastPageToScan() {
        return lastPageToScan;
    }

    public void setLastPageToScan(int lastPageToScan) {
        this.lastPageToScan = lastPageToScan;
    }
}
